﻿using System.ComponentModel;
using YNTK.Dependency;

namespace YNTK.Common.Enum
{
    /// <summary>
    /// 消息类型枚举
    /// </summary>
    [SuppressSniffer]
    public enum MessageTypeEnum
    {
        /// <summary>
        /// 平台公告
        /// </summary>
        [Description("平台公告")]
        Platform = 0,

        /// <summary>
        /// 通知公告
        /// </summary>
        [Description("通知公告")]
        Announcements = 1,

        /// <summary>
        /// 系统消息
        /// </summary>
        [Description("系统消息")]
        SystemMessage = 2,

        /// <summary>
        /// 私信消息
        /// </summary>
        [Description("私信消息")]
        PrivateMessage = 3
    }

    /// <summary>
    /// 通知公告接收对象类型
    /// </summary>
    [SuppressSniffer]
    public enum NoticeEnum
    {
        /// <summary>
        /// 所有人
        /// </summary>
        [Description("所有人")]
        Owner = 0,

        /// <summary>
        /// 本机构
        /// </summary>
        [Description("本机构")]
        Agency = 1,

        /// <summary>
        /// 指定人员
        /// </summary>
        [Description("指定人员")]
        User = 2,

        /// <summary>
        /// 特定机构
        /// </summary>
        [Description("特定机构")]
        Mechanism = 3
    }

}
